<template>
  <div class="bottombar">
    <div class="item">
      <span class="iconfont icon-shouye"></span>
      <router-link to="/index">首页</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-huiyuan-"></span>
      <router-link to="/vip">会员</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-faxian"></span>
      <router-link to="/Channel" class="find">问答</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-xiaoxi"></span>
      <router-link to="/message">消息</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-wode"></span>
      <router-link to="/me">我的</router-link>
    </div>
  </div>

</template>

<script>
export default {
  name: "BottomBar"
}
</script>


<style scoped>
a {
  text-decoration: none;
  color: #3e3e3e;
}
.router-link-active {
  text-decoration: none;
}

.bottombar {
  z-index: 999;
  opacity:1;
  height: 70px;
  line-height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-items: center;
  width: 100%;
  /*border-top: 1px #000 solid;*/
  box-shadow: 0px -1px 5px rgba(0,0,0,0.9);
  background-color: white;
}
.bottombar .item{
  flex: 1;
  text-align: center;
  font-size: 16px;
}
.bottombar .item span{
  height: 30px;
}
.bottombar .item .iconfont{
  font-size: 30px;
  display: block;
}


</style>